inherited FrelatorioNFEntrada: TFrelatorioNFEntrada
  Left = 222
  Top = 19
  Width = 985
  Height = 615
  Caption = 'ESTOQUE / NOTA FISCAL DE ENTRADA'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited Panel1: TPanel
    Width = 977
  end
  inherited Panel2: TPanel
    Width = 977
    Caption = 'RELAT'#211'RIO NOTAS FISCAIS'
  end
  inherited GroupBox1: TGroupBox
    object Label5: TLabel
      Left = 16
      Top = 26
      Width = 92
      Height = 16
      Caption = 'Fornecedor (F8)'
    end
    object Label19: TLabel
      Left = 402
      Top = 26
      Width = 35
      Height = 16
      Caption = 'Grupo'
    end
    object GroupBox3: TGroupBox
      Left = 16
      Top = 140
      Width = 137
      Height = 57
      Caption = '  Situa'#231#227'o  '
      TabOrder = 0
      object CbAtualizada: TCheckBox
        Left = 8
        Top = 19
        Width = 113
        Height = 17
        Alignment = taLeftJustify
        Caption = 'Atualizada'
        TabOrder = 0
      end
      object CbNaoAtualizada: TCheckBox
        Left = 8
        Top = 36
        Width = 113
        Height = 17
        Alignment = taLeftJustify
        Caption = 'N'#227'o Atualizada'
        TabOrder = 1
      end
    end
    object GroupBox4: TGroupBox
      Left = 160
      Top = 140
      Width = 153
      Height = 57
      Caption = '  Financeiro  '
      TabOrder = 1
      object CbGerou: TCheckBox
        Left = 8
        Top = 19
        Width = 129
        Height = 17
        Alignment = taLeftJustify
        Caption = 'Gerou C.A.P.'
        TabOrder = 0
      end
      object CBNaoGerou: TCheckBox
        Left = 8
        Top = 36
        Width = 129
        Height = 17
        Alignment = taLeftJustify
        Caption = 'N'#227'o Gerou C.A.P.'
        TabOrder = 1
      end
    end
    object GroupBox6: TGroupBox
      Left = 16
      Top = 76
      Width = 273
      Height = 54
      Caption = '  Per'#237'odo (Data Entrada)  '
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 2
      object Label3: TLabel
        Left = 133
        Top = 21
        Width = 7
        Height = 16
        Caption = 'a'
      end
      object Label4: TLabel
        Left = 6
        Top = 21
        Width = 16
        Height = 16
        Caption = 'De'
      end
      object DTINI: TDateEdit
        Left = 25
        Top = 21
        Width = 101
        Height = 21
        Ctl3D = False
        NumGlyphs = 2
        ParentCtl3D = False
        TabOrder = 0
      end
      object DTFIM: TDateEdit
        Left = 146
        Top = 21
        Width = 101
        Height = 21
        Ctl3D = False
        NumGlyphs = 2
        ParentCtl3D = False
        TabOrder = 1
      end
    end
    object DBLCBFornecedor: TDBLookupComboBox
      Left = 16
      Top = 44
      Width = 365
      Height = 22
      KeyField = 'FORN_CODIGO'
      ListField = 'FORN_RAZAO'
      ListSource = DSFornecedor
      TabOrder = 3
      OnKeyDown = DBLCBFornecedorKeyDown
    end
    object edGrupo: TEdit
      Left = 403
      Top = 43
      Width = 29
      Height = 22
      MaxLength = 1
      TabOrder = 4
    end
  end
  inherited RLReport: TRLReport
    Left = 0
    Top = 381
    DataSource = DSPesquisa
    Margins.LeftMargin = 5.000000000000000000
    Margins.RightMargin = 5.000000000000000000
    inherited RLBand1: TRLBand
      Left = 19
      Width = 756
      Borders.DrawBottom = False
    end
    object RLBand2: TRLBand
      Left = 19
      Top = 120
      Width = 756
      Height = 19
      BandType = btHeader
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = True
      Borders.DrawRight = False
      Borders.DrawBottom = True
      Borders.FixedTop = True
      Borders.FixedBottom = True
      object RLLabel1: TRLLabel
        Left = 2
        Top = 1
        Width = 122
        Height = 15
        AutoSize = False
        Caption = 'Fornecedor/Historico'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel2: TRLLabel
        Left = 278
        Top = 1
        Width = 67
        Height = 15
        AutoSize = False
        Caption = 'NF/Serie'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel4: TRLLabel
        Left = 395
        Top = 1
        Width = 64
        Height = 15
        Alignment = taCenter
        AutoSize = False
        Caption = 'Data Emis.'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel5: TRLLabel
        Left = 469
        Top = 1
        Width = 64
        Height = 15
        Alignment = taCenter
        AutoSize = False
        Caption = 'Data Ent.'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel6: TRLLabel
        Left = 543
        Top = 1
        Width = 64
        Height = 15
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Valor NF'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel7: TRLLabel
        Left = 616
        Top = 1
        Width = 64
        Height = 15
        Alignment = taCenter
        AutoSize = False
        Caption = 'Vencto'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel8: TRLLabel
        Left = 688
        Top = 1
        Width = 65
        Height = 15
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'Vr. Pagto'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel9: TRLLabel
        Left = 357
        Top = 1
        Width = 27
        Height = 15
        AutoSize = False
        Caption = 'Sit.'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
    end
    object RLBand3: TRLBand
      Left = 19
      Top = 139
      Width = 756
      Height = 19
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = False
      Borders.DrawRight = False
      Borders.DrawBottom = True
      Borders.FixedBottom = True
      BeforePrint = RLBand3BeforePrint
      object RLDBText2: TRLDBText
        Left = 0
        Top = 2
        Width = 276
        Height = 15
        AutoSize = False
        DataField = 'FORN_FANTASIA'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText7: TRLDBText
        Left = 395
        Top = 2
        Width = 64
        Height = 15
        Alignment = taCenter
        AutoSize = False
        DataField = 'NF_DATAEMISSAO'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText8: TRLDBText
        Left = 469
        Top = 2
        Width = 64
        Height = 15
        Alignment = taCenter
        AutoSize = False
        DataField = 'NF_DATAESTOQUE'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLDBText9: TRLDBText
        Left = 543
        Top = 2
        Width = 64
        Height = 15
        Alignment = taRightJustify
        AutoSize = False
        DataField = 'NF_VALOR_TOTAL_PAGAMENTO'
        DataSource = DSPesquisa
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel11: TRLLabel
        Left = 277
        Top = 2
        Width = 67
        Height = 15
        AutoSize = False
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel3: TRLLabel
        Left = 615
        Top = 2
        Width = 65
        Height = 15
        Alignment = taRightJustify
        AutoSize = False
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel12: TRLLabel
        Left = 688
        Top = 2
        Width = 66
        Height = 15
        Alignment = taRightJustify
        AutoSize = False
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object RLLabel10: TRLLabel
        Left = 357
        Top = 2
        Width = 27
        Height = 15
        AutoSize = False
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
    end
    object RLBand4: TRLBand
      Left = 19
      Top = 158
      Width = 756
      Height = 59
      BandType = btSummary
      BeforePrint = RLBand4BeforePrint
      object RLLabel13: TRLLabel
        Left = 190
        Top = 41
        Width = 345
        Height = 16
        Caption = 'Recebido por:_______________         Data: ___/___/_____'
      end
      object RLLabel14: TRLLabel
        Left = 469
        Top = 1
        Width = 64
        Height = 15
        AutoSize = False
        Caption = 'TOTAL:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel15: TRLLabel
        Left = 542
        Top = 1
        Width = 67
        Height = 15
        Alignment = taRightJustify
        AutoSize = False
        Caption = 'NF/Serie'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel16: TRLLabel
        Left = 317
        Top = 1
        Width = 71
        Height = 15
        AutoSize = False
        Caption = 'Quantidade:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel17: TRLLabel
        Left = 395
        Top = 1
        Width = 64
        Height = 15
        Alignment = taCenter
        AutoSize = False
        Caption = 'Quantidade:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -12
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
    end
  end
  inherited QPesquisa: TQuery
    SQL.Strings = (
      'SELECT '
      '                NOTAFISCAL.NF_CODIGO,'
      '                NOTAFISCAL.NF_NOTAFISCAL,'
      '                NOTAFISCAL.NF_SERIE,'
      '                NOTAFISCAL.NF_CFOPNF,'
      '                NOTAFISCAL.NF_FORNECEDOR,'
      '                NOTAFISCAL.NF_DATAEMISSAO,'
      '                NOTAFISCAL.NF_DATAESTOQUE,'
      '                NOTAFISCAL.NF_SITUACAO,'
      '                NOTAFISCAL.NF_INDICACAO_GERA_CAP,'
      '                NOTAFISCAL.NF_QTD_DIAS_PROXIMA_FAT_PAGAMEN,'
      '                NOTAFISCAL.NF_VALOR_PRIMEIRA_FAT_PAGAMENTO,'
      '                NOTAFISCAL.NF_VALOR_FATURAS_RESTANTES_PAGA,'
      '                NOTAFISCAL.NF_FIXAR_DIA_PAGAMENTO,'
      '                NOTAFISCAL.NF_QTD_DIAS_PRIMEIRA_FAT_PAGAME,'
      '                contaspagar.CP_VALOR,'
      '                NOTAFISCAL.nf_valor_total_pagamento,'
      
        '                contaspagar.cp_datavencimento as NF_DATA_PRIMEIR' +
        'A_FAT_PAGAMENTO,'
      '                NOTAFISCAL.NF_QTD_FATURAS_PAGAMENTO,'
      '                FORNECEDOR.FORN_FANTASIA'
      'FROM'
      '  NOTAFISCAL'
      
        '  INNER JOIN FORNECEDOR ON (NOTAFISCAL.NF_FORNECEDOR = FORNECEDO' +
        'R.FORN_CODIGO)'
      
        '  left join contaspagar on ((contaspagar.cp_nfnumero = notafisca' +
        'l.nf_notafiscal)and (contaspagar.cp_nf_serie = notafiscal.nf_ser' +
        'ie )and (contaspagar.cp_fornecedor = notafiscal.nf_fornecedor)an' +
        'd (notafiscal.codigoempresa = contaspagar.codigoempresa))')
    Left = 200
    Top = 329
    object QPesquisaNF_CODIGO: TIntegerField
      FieldName = 'NF_CODIGO'
      Origin = 'BASE.NOTAFISCAL.NF_CODIGO'
    end
    object QPesquisaNF_NOTAFISCAL: TStringField
      FieldName = 'NF_NOTAFISCAL'
      Origin = 'BASE.NOTAFISCAL.NF_NOTAFISCAL'
      Size = 9
    end
    object QPesquisaNF_SERIE: TStringField
      FieldName = 'NF_SERIE'
      Origin = 'BASE.NOTAFISCAL.NF_SERIE'
      Size = 3
    end
    object QPesquisaNF_CFOPNF: TIntegerField
      FieldName = 'NF_CFOPNF'
      Origin = 'BASE.NOTAFISCAL.NF_CFOPNF'
    end
    object QPesquisaNF_FORNECEDOR: TIntegerField
      FieldName = 'NF_FORNECEDOR'
      Origin = 'BASE.NOTAFISCAL.NF_FORNECEDOR'
    end
    object QPesquisaNF_DATAEMISSAO: TDateTimeField
      FieldName = 'NF_DATAEMISSAO'
      Origin = 'BASE.NOTAFISCAL.NF_DATAEMISSAO'
    end
    object QPesquisaNF_DATAESTOQUE: TDateTimeField
      FieldName = 'NF_DATAESTOQUE'
      Origin = 'BASE.NOTAFISCAL.NF_DATAESTOQUE'
    end
    object QPesquisaNF_SITUACAO: TIntegerField
      FieldName = 'NF_SITUACAO'
      Origin = 'BASE.NOTAFISCAL.NF_SITUACAO'
    end
    object QPesquisaNF_INDICACAO_GERA_CAP: TIntegerField
      FieldName = 'NF_INDICACAO_GERA_CAP'
      Origin = 'BASE.NOTAFISCAL.NF_INDICACAO_GERA_CAP'
    end
    object QPesquisaNF_QTD_DIAS_PROXIMA_FAT_PAGAMEN: TIntegerField
      FieldName = 'NF_QTD_DIAS_PROXIMA_FAT_PAGAMEN'
      Origin = 'BASE.NOTAFISCAL.NF_QTD_DIAS_PROXIMA_FAT_PAGAMEN'
    end
    object QPesquisaNF_VALOR_PRIMEIRA_FAT_PAGAMENTO: TFloatField
      FieldName = 'NF_VALOR_PRIMEIRA_FAT_PAGAMENTO'
      Origin = 'BASE.NOTAFISCAL.NF_VALOR_PRIMEIRA_FAT_PAGAMENTO'
    end
    object QPesquisaNF_VALOR_FATURAS_RESTANTES_PAGA: TFloatField
      FieldName = 'NF_VALOR_FATURAS_RESTANTES_PAGA'
      Origin = 'BASE.NOTAFISCAL.NF_VALOR_FATURAS_RESTANTES_PAGA'
    end
    object QPesquisaNF_FIXAR_DIA_PAGAMENTO: TIntegerField
      FieldName = 'NF_FIXAR_DIA_PAGAMENTO'
      Origin = 'BASE.NOTAFISCAL.NF_FIXAR_DIA_PAGAMENTO'
    end
    object QPesquisaNF_DATA_PRIMEIRA_FAT_PAGAMENTO: TDateTimeField
      FieldName = 'NF_DATA_PRIMEIRA_FAT_PAGAMENTO'
      Origin = 'BASE.NOTAFISCAL.NF_DATA_PRIMEIRA_FAT_PAGAMENTO'
    end
    object QPesquisaNF_QTD_DIAS_PRIMEIRA_FAT_PAGAME: TIntegerField
      FieldName = 'NF_QTD_DIAS_PRIMEIRA_FAT_PAGAME'
      Origin = 'BASE.NOTAFISCAL.NF_QTD_DIAS_PRIMEIRA_FAT_PAGAME'
    end
    object QPesquisaNF_QTD_FATURAS_PAGAMENTO: TIntegerField
      FieldName = 'NF_QTD_FATURAS_PAGAMENTO'
      Origin = 'BASE.NOTAFISCAL.NF_QTD_FATURAS_PAGAMENTO'
    end
    object QPesquisaNF_VALOR_TOTAL_PAGAMENTO: TFloatField
      FieldName = 'NF_VALOR_TOTAL_PAGAMENTO'
      Origin = 'BASE.NOTAFISCAL.NF_VALOR_TOTAL_PAGAMENTO'
      DisplayFormat = '#,##0.00'
    end
    object QPesquisaFORN_FANTASIA: TStringField
      FieldName = 'FORN_FANTASIA'
      Origin = 'BASE.FORNECEDOR.FORN_FANTASIA'
      Size = 60
    end
    object QPesquisaCP_VALOR: TFloatField
      FieldName = 'CP_VALOR'
    end
  end
  inherited DSPesquisa: TDataSource
    Left = 264
    Top = 342
  end
  inherited RLDraftFilter: TRLDraftFilter
    Left = 360
  end
  inherited RLHTMLFilter1: TRLHTMLFilter
    Left = 392
  end
  inherited RLXLSFilter: TRLXLSFilter
    Left = 424
  end
  inherited RLPDFFilter: TRLPDFFilter
    Left = 456
  end
  inherited SaveDialog: TSaveDialog
    Left = 496
  end
  object DSFornecedor: TDataSource
    DataSet = DMGestao.QFornecedor
    Left = 320
    Top = 288
  end
  object QAux: TQuery
    DatabaseName = 'base'
    Left = 208
    Top = 48
  end
end
